package cn.xspace.module.other.http.req;

import org.json.JSONException;
import org.json.JSONObject;

import com.xspace.android.xafcommon.network.message.ARequestMsg;
import com.xspace.android.xafcommon.util.Constants;

import android.util.Log;
/**
 * 联盟查询版权
 * @author Administrator
 *
 */
public class QueryCopyRightReq extends ARequestMsg {
	 String deptid;
	 String friends_id;
	
		public QueryCopyRightReq(String deptid) {
		super();
		this.deptid = deptid;
	}

		@Override
		public String getURL() {
			return Constants.queryCopyRight;
		}

		@Override
		protected byte[] toBytes() {

			JSONObject js=new JSONObject();
			try {
				js.put("deptid", deptid);
			} catch (JSONException e) {
				e.printStackTrace();
			}
			Log.v("net","QueryCopyRightReq==="+js.toString());
			return js.toString().getBytes();
		
		}

		@Override
		protected String toJson() {
			// TODO Auto-generated method stub
			return null;
		}

}
